package com.xingji.caixia.entitys;

import org.xutils.db.annotation.Column;
import org.xutils.db.annotation.Table;

import java.util.Date;

/**
 * Created by zyh on 2017/9/23.
 */

@Table(name = "card")
public class UploadData {

    @Column(name = "id",isId = true)
    private Integer id ;

    @Column(name = "time")
    private Date time;

    @Column(name = "cardno")
    private String Card;

    @Column(name = "image")
    private String ImgPath;

    @Column(name = "tmimg")
    private String ThumbImgPath;//缩略图路径

    @Column(name = "isupload")
    private Boolean Uploaded = false;

    @Column(name = "result")
    private String Result;

    @Column(name = "issad")
    private Boolean Sad = false;//这个卡是异常状态

    public Boolean getSad() {
        return Sad;
    }

    public void setSad(Boolean sad) {
        Sad = sad;
    }

    public String getResult() {
        return Result;
    }

    public void setResult(String result) {
        Result = result;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getCard() {
        return Card;
    }

    public void setCard(String card) {
        Card = card;
    }

    public String getImgPath() {
        return ImgPath;
    }

    public void setImgPath(String imgPath) {
        ImgPath = imgPath;
    }

    public Boolean getUploaded() {
        return Uploaded;
    }

    public void setUploaded(Boolean uploaded) {
        Uploaded = uploaded;
    }

    public String getThumbImgPath() {
        return ThumbImgPath;
    }

    public void setThumbImgPath(String thumbImgPath) {
        ThumbImgPath = thumbImgPath;
    }

    @Override
    public String toString() {
        return "UploadData{" +
                "id=" + id +
                ", time=" + time +
                ", Card='" + Card + '\'' +
                ", ImgPath='" + ImgPath + '\'' +
                ", ThumbImgPath='" + ThumbImgPath + '\'' +
                ", Uploaded=" + Uploaded +
                ", Result='" + Result + '\'' +
                ", Sad=" + Sad +
                '}';
    }
}
